// 订单状态：待付款、待发货、待收货、待评价、已完成、已取消
export const OrderStatus = {
  PENDING: 'PENDING',
  SHIPPED: 'SHIPPED',
  DELIVERED: 'DELIVERED',
  EVALUATED: 'EVALUATED',
  CANCELLED: 'CANCELLED',
  COMPLETED: 'COMPLETED'
};

// 订单状态映射状态文本
export const orderStatusMapText = {
  [OrderStatus.PENDING]: '待付款',
  [OrderStatus.SHIPPED]: '待发货',
  [OrderStatus.DELIVERED]: '待收货',
  [OrderStatus.EVALUATED]: '待评价',
  [OrderStatus.CANCELLED]: '已取消',
  [OrderStatus.COMPLETED]: '已完成'
}
